package com.stark.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.stark.core.domain.User;

/**
 * 用户数据访问接口。
 * @author Ben
 * @since 2.0.0
 * @version 1.0.0
 */
public interface UserDao extends JpaRepository<User, Long>, JpaSpecificationExecutor<User> {
	
	User findByUsername(String username);
	
}
